<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:73:"D:\web\jiazheng1\public/../application/admin\view\service\data\index.html";i:1717841581;s:59:"D:\web\jiazheng1\application\admin\view\layout\default.html";i:1671020443;s:56:"D:\web\jiazheng1\application\admin\view\common\meta.html";i:1671020443;s:58:"D:\web\jiazheng1\application\admin\view\common\script.html";i:1671020443;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">
<meta name="robots" content="noindex, nofollow">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<?php if(\think\Config::get('fastadmin.adminskin')): ?>
<link href="/assets/css/skins/<?php echo \think\Config::get('fastadmin.adminskin'); ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
<?php endif; ?>

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config); ?>
    };
</script>

    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <?php if($auth->check('dashboard')): ?>
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                    <?php endif; ?>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="/assets/addons/service/css/index.css">
    <title>Document</title>
</head>

<body>
<div class="box">
    <!-- <div class="menu"></div> -->
    <div class="content">
        <!-- <div class="head"></div> -->

        <div class="floor1-box">
            <div class="flex-1">
               

                <div class="floor1-each each-1">
                    <div class="text-box">
                        <div class="text-box-text">总用户</div>
                        <div class="number"><?php echo $data['total_user_nums']; ?></div>
                        <div class="change">
                            比昨日+<?php echo $diff['total_user_nums']; ?>
                            <img class="up-icon" src="/assets/addons/service/image/change-2.png" alt="" />
                        </div>
                    </div>
                    <div class="floor1-each-img-r">
                        <img src="/assets/addons/service/image/user.png" alt="" />
                    </div>
                </div>
                <div class="floor1-each each-2">
                    <div class="text-box">
                        <div class="text-box-text">总会员</div>
                        <div class="number"><?php echo $data['total_plus_nums']; ?></div>
                        <div class="change">
                            比昨日+<?php echo $diff['total_plus_nums']; ?>
                            <img class="up-icon" src="/assets/addons/service/image/change-2.png" alt="" />
                        </div>
                    </div>
                    <div class="floor1-each-img-r">
                        <img src="/assets/addons/service/image/member.png" alt="" />
                    </div>
                </div>
            </div>

            <div class="flex-2">
                
                <div class="floor1-each each-3">
                    <div class="text-box">
                        <div class="text-box-text">总服务人员</div>
                        <div class="number"><?php echo $data['total_skill_nums']; ?></div>
                        <div class="change">
                            比昨日+<?php echo $diff['total_skill_nums']; ?>
                            <img class="up-icon" src="/assets/addons/service/image/change-2.png" alt="" />
                        </div>
                    </div>
                    <div class="floor1-each-img-r">
                        <img src="/assets/addons/service/image/serve.png" alt="" />
                    </div>
                </div>
                <div class="floor1-each each-4">
                    <div class="text-box">
                        <div class="text-box-text">总商户</div>
                        <div class="number"><?php echo $data['total_shop_nums']; ?></div>
                        <div class="change">
                            比昨日+<?php echo $diff['total_shop_nums']; ?>
                            <img class="up-icon" src="/assets/addons/service/image/change-2.png" alt="" />
                        </div>
                    </div>
                    <div class="floor1-each-img-r">
                        <img src="/assets/addons/service/image/serve.png" alt="" />
                    </div>
                </div>
            </div>
        </div>




        <div class="floor1-box">
            <div class="flex-1">
                <div class="box-1">
                    
                    <div class="sum">订单总金额（元）</div>
                    <div class="sum-money"><?php echo $data['total_price']; ?></div>
                    <div class="box1-change">
                        比昨日+<?php echo $diff['total_price']; ?>
                        <img class="box-1-change-img" src="/assets/addons/service/image/change-2.png" alt="" />
                    </div>
                    <div class="back">
                        
                        <div>
                            <div class="back-sum">总订单</div>
                        <div class="back-sum-money"><?php echo $data['total_order_nums']; ?></div>
                        <div class="back-change">
                            比昨日+<?php echo $diff['total_order_nums']; ?>
                            <img class="box-1-change-img" src="/assets/addons/service/image/change-2.png" alt="" />
                        </div>
                        </div>
                        <div style="padding-right: 24px;">
                            <div class="back-sum">总佣金（元）</div>
                        <div class="back-sum-money"><?php echo $data['rebate_price']; ?></div>
                        <div class="back-change">
                            比昨日+<?php echo $diff['rebate_price']; ?>
                            <img class="box-1-change-img" src="/assets/addons/service/image/change-2.png" alt="" />
                        </div>
                        </div>
                    </div>
                </div>

                <div class="box-2-1">
                    <div class="ico-img">
                        <img class="img-ico-img" src="/assets/addons/service/image/recharge.png" alt="" />
                    </div>
                    <div class="box-2-back">
                        <div style="height: 1px"></div>
                        <div class="back-sum">总充值（元）</div>
                        <div class="back-sum-money"><?php echo $data['recharge_price']; ?></div>
                        <div class="back-change">
                            比昨日+<?php echo $diff['recharge_price']; ?>
                            <img class="back-change-img" src="/assets/addons/service/image/change-2.png" alt="" />
                        </div>
                    </div>
                </div>
            </div>

            <div class="flex-2">
                <div class="box-2-1">
                    <div class="ico-img">
                        <img class="img-ico-img" src="/assets/addons/service/image/recharge.png" alt="" />
                    </div>
                    <div class="box-2-back">
                        <div style="height: 1px"></div>
                        <div class="back-sum">总提现（元）</div>
                        <div class="back-sum-money"><?php echo $data['withdraw_price']; ?></div>
                        <div class="back-change">
                            比昨日+<?php echo $diff['withdraw_price']; ?>
                            <img class="back-change-img" src="/assets/addons/service/image/change-2.png" alt="" />
                        </div>
                    </div>
                </div>

                <div class="newbox-3">
                    <div class="newbox-3-1">
                        <div class="newbox-3-1-text">
                            <div style="height: 8px"></div>
                            <div class="back-sum">服务人员保证金（元）</div>
                            <div class="back-sum-money"><?php echo $data['skill_ensure_price']; ?></div>
                            <div class="back-change">
                                比昨日+<?php echo $diff['skill_ensure_price']; ?>
                                <img class="back-change-img" src="/assets/addons/service/image/change-2.png" alt="" />
                            </div>

                        </div>
                        <div class="newbox-3-1-img">
                            <img class="newbox-3-1-img" src="/assets/addons/service/image/Intersect2.png" alt="">
                        </div>
                    </div>
                    <!-- <div class="newbox-3-2"></div> -->
                    <div class="newbox-3-2">
                        <div class="newbox-3-1-text">
                            <div style="height: 8px"></div>
                            <div class="back-sum">商户保证金（元）</div>
                            <div class="back-sum-money"><?php echo $data['shop_ensure_price']; ?></div>
                            <div class="back-change">
                                比昨日+<?php echo $diff['shop_ensure_price']; ?>
                                <img class="back-change-img" src="/assets/addons/service/image/change-2.png" alt="" />
                            </div>

                        </div>
                        <div class="newbox-3-1-img">
                            <img class="newbox-3-1-img" src="/assets/addons/service/image/Intersect2.png" alt="">
                        </div>
                    </div>
                </div>
            </div>
        </div>


        <div class="floor1-box">
            <div class="flex-1">
                <div class="box-4">
                    <div class="box-4-1">
                        <div class="nav-tabs-custom charts-custom">
                                <!-- Tabs within a box -->
                                <div class="charts-box">
                                    <div class="line"></div>订单趋势
                                </div>
                                
                                <div class="tab-content no-padding">
                                    <!-- Morris chart - Sales -->
                                    <div class="chart tab-pane active" id="line-chart" style="position: relative; height: 230px;"></div>
                                    
                                </div>
                            </div>
                    </div>
                    <div class="box-4-2">
                        <div class="nav-tabs-custom charts-custom">
                                <!-- Tabs within a box -->
                                
                                <div class="charts-box">
                                    <div class="line"></div>用户趋势
                                </div>
                                <div class="tab-content no-padding">
                                    <!-- Morris chart - Sales -->
                                    <div class="chart tab-pane active" id="line-user-chart" style="position: relative; height: 230px;"></div>
                                    
                                </div>
                            </div>
                    </div>
                </div>

                <div class="newbox-5-1">
                    <div class="box-6-each single-1">
                        <div class="box-6-each-title">
                            <img class="box-6-each-title-img" src="/assets/addons/service/image/single-1.png" alt="" />今日已服务
                        </div>
                        <div class="box-6-each-number"><?php echo $finish; ?></div>

                    </div>
                    <div class="box-6-each single-3">
                        <div class="box-6-each-title">
                            <img class="box-6-each-title-img" src="/assets/addons/service/image/single-4.png" alt="" />今日待服务
                        </div>
                        <div class="box-6-each-number"><?php echo $notFinish; ?></div>

                    </div>
                    <div class="box-6-each single-5">
                        <div class="box-6-each-title">
                            <img class="box-6-each-title-img" src="/assets/addons/service/image/single-6.png" alt="" />后日待服务
                        </div>
                        <div class="box-6-each-number"><?php echo $afterNotFinish; ?></div>

                    </div>
                </div>
            </div>

            <div class="flex-2">
                <div class="newbox-5-1">
                    <div class="box-6-each single-2">
                        <div class="box-6-each-title">
                            <img class="box-6-each-title-img" src="/assets/addons/service/image/single-2.png" alt="" />昨日已服务
                        </div>
                        <div class="box-6-each-number"><?php echo $beforeFinish; ?></div>

                    </div>
                    <div class="box-6-each single-4">
                        <div class="box-6-each-title">
                            <img class="box-6-each-title-img" src="/assets/addons/service/image/single-3.png" alt="" />明日待服务
                        </div>
                        <div class="box-6-each-number"><?php echo $tomorrowNotFinish; ?></div>
                    </div>
                    <div class="box-6-each single-6">
                        <div class="box-6-each-title">
                            <img class="box-6-each-title-img" src="/assets/addons/service/image/single-5.png" alt="" />售后订单
                        </div>
                        <div class="box-6-each-number"><?php echo $refund; ?></div>
                    </div>
                </div>

                <div class="box-5">
                    <div class="box-5-each">
                        <div class="box-5-text">
                            <div class="today">今日订单</div>
                            <div class="number-b"><?php echo $dayOrder; ?></div>

                        </div>
                        <div class="box-5-img">
                            <img class="img-box-5-img" src="/assets/addons/service/image/trend-1.png" alt="" />
                        </div>
                    </div>
                    <div class="box-5-each">
                        <div class="box-5-text">
                            <div class="today">今日用户</div>
                            <div class="number-b"><?php echo $dayUser; ?></div>

                        </div>
                        <div class="box-5-img">
                            <img class="img-box-5-img" src="/assets/addons/service/image/trend-2.png" alt="" />
                        </div>
                    </div>
                    <div class="box-5-each">
                        <div class="box-5-text">
                            <div class="today">今日充值（元）</div>
                            <div class="number-b"><?php echo $dayRecharge; ?></div>
                        </div>
                        <div class="box-5-img">
                            <img class="img-box-5-img" src="/assets/addons/service/image/trend-3.png" alt="" />
                        </div>
                    </div>
                </div>
            </div>
        </div>


        <div class="floor1-box" id="app">
            
            <div class="flex-1 flex-rank">
                <div class="box-7">
                    <div class="box-3-head">
                        <div class="title">
                            <span class="rod"></span> 服务销量排行
                        </div>
                        <div class="tags-box" id="list1">
                            <span class="tags-box-span" :class="{curtag1 : goodsType == 0}" style="border-radius: 6px 0px 0px 6px" @click="goodsChange(0)">日</span><span
                                class="tags-box-span"  :class="{curtag1 : goodsType == 1}" @click="goodsChange(1)">月</span class="tags-box-span"><span class="tags-box-span"  :class="{curtag1 : goodsType == 2}" @click="goodsChange(2)">年</span><span
                                class="tags-box-span"  :class="{curtag1 : goodsType == 3}" style="border-radius: 0px 6px 6px 0px" @click="goodsChange(3)">总</span>
                        </div>
                    </div>

                    <div class="list-box">
                        
                        <div class="title-box">
                            <div class="title-1">排名</div>
                            <div class="title-2">项目名</div>
                            <div class="title-3">订单量</div>
                            <div class="title-4">价格</div>
                        </div>

                        <div class="overflow-box" v-if="goodsType == 0">
                            <?php if(is_array($dayGoods) || $dayGoods instanceof \think\Collection || $dayGoods instanceof \think\Paginator): $i = 0; $__LIST__ = $dayGoods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['goodsName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="goodsType == 1">
                            <?php if(is_array($monthGoods) || $monthGoods instanceof \think\Collection || $monthGoods instanceof \think\Paginator): $i = 0; $__LIST__ = $monthGoods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['goodsName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="goodsType == 2">
                            <?php if(is_array($yearGoods) || $yearGoods instanceof \think\Collection || $yearGoods instanceof \think\Paginator): $i = 0; $__LIST__ = $yearGoods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['goodsName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="goodsType == 3">
                            <?php if(is_array($allGoods) || $allGoods instanceof \think\Collection || $allGoods instanceof \think\Paginator): $i = 0; $__LIST__ = $allGoods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['goodsName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                    </div>
                </div>

                <div class="box-7">
                    <div class="box-3-head">
                        <div class="title">
                            <span class="rod"></span> 城市订单排行
                        </div>
                        <div class="tags-box" id="list2">
                            <span class="tags-box-span" :class="{curtag1 : cityType == 0}"  @click="cityChange(0)" style="border-radius: 6px 0px 0px 6px">日</span><span
                                class="tags-box-span" :class="{curtag1 : cityType == 1}"  @click="cityChange(1)">月</span class="tags-box-span"><span class="tags-box-span" :class="{curtag1 : cityType == 2}"  @click="cityChange(2)">年</span><span
                                class="tags-box-span" style="border-radius: 0px 6px 6px 0px" :class="{curtag1 : cityType == 3}"  @click="cityChange(3)">总</span>
                        </div>
                    </div>

                    <div class="list-box">
                        
                        <div class="title-box">
                            <div class="title-1">排名</div>
                            <div class="title-2">城市名</div>
                            <div class="title-3">订单量</div>
                            <div class="title-4">金额</div>
                        </div>

                        <div class="overflow-box" v-if="cityType == 0">
                            <?php if(is_array($dayCity) || $dayCity instanceof \think\Collection || $dayCity instanceof \think\Paginator): $i = 0; $__LIST__ = $dayCity;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['city']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="cityType == 1">
                            <?php if(is_array($monthCity) || $monthCity instanceof \think\Collection || $monthCity instanceof \think\Paginator): $i = 0; $__LIST__ = $monthCity;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['city']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="cityType == 2">
                            <?php if(is_array($yearCity) || $yearCity instanceof \think\Collection || $yearCity instanceof \think\Paginator): $i = 0; $__LIST__ = $yearCity;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['city']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="cityType == 3">
                            <?php if(is_array($allCity) || $allCity instanceof \think\Collection || $allCity instanceof \think\Paginator): $i = 0; $__LIST__ = $allCity;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['city']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                    </div>
                </div>
            </div>

            <div class="flex-2  flex-rank">
                <div class="box-7">
                    <div class="box-3-head">
                        <div class="title">
                            <span class="rod"></span> 商家订单排行
                        </div>
                        <div class="tags-box" id="list3">
                            <span class="tags-box-span" :class="{curtag1 : shopType == 0}"  @click="shopChange(0)" style="border-radius: 6px 0px 0px 6px">日</span><span
                                class="tags-box-span" :class="{curtag1 : shopType == 1}"  @click="shopChange(1)">月</span class="tags-box-span">
                                <span class="tags-box-span" :class="{curtag1 : shopType == 2}"  @click="shopChange(2)">年</span>
                                <span class="tags-box-span" :class="{curtag1 : shopType == 3}"  @click="shopChange(3)" style="border-radius: 0px 6px 6px 0px">总</span>
                        </div>
                    </div>

                    <div class="list-box">
                        
                        <div class="title-box">
                            <div class="title-1">排名</div>
                            <div class="title-2">商家名</div>
                            <div class="title-3">订单量</div>
                            <div class="title-4">金额</div>
                        </div>

                        <div class="overflow-box" v-if="shopType == 0">
                            <?php if(is_array($dayShop) || $dayShop instanceof \think\Collection || $dayShop instanceof \think\Paginator): $i = 0; $__LIST__ = $dayShop;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['shopName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="shopType == 1">
                            <?php if(is_array($monthShop) || $monthShop instanceof \think\Collection || $monthShop instanceof \think\Paginator): $i = 0; $__LIST__ = $monthShop;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['shopName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="shopType == 2">
                            <?php if(is_array($yearShop) || $yearShop instanceof \think\Collection || $yearShop instanceof \think\Paginator): $i = 0; $__LIST__ = $yearShop;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['shopName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="shopType == 3">
                            <?php if(is_array($allShop) || $allShop instanceof \think\Collection || $allShop instanceof \think\Paginator): $i = 0; $__LIST__ = $allShop;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['shopName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                    </div>
                </div>

                <div class="box-7">
                    <div class="box-3-head">
                        <div class="title">
                            <span class="rod"></span> 服务者订单排行
                        </div>
                        <div class="tags-box" id="list4">
                            <span class="tags-box-span" :class="{curtag1 : skillType == 0}"  @click="skillChange(0)" style="border-radius: 6px 0px 0px 6px">日</span>
                            <span class="tags-box-span" :class="{curtag1 : skillType == 1}"  @click="skillChange(1)">月</span class="tags-box-span">
                            <span class="tags-box-span" :class="{curtag1 : skillType == 2}"  @click="skillChange(2)">年</span>
                            <span class="tags-box-span" :class="{curtag1 : skillType == 3}"  @click="skillChange(3)" style="border-radius: 0px 6px 6px 0px">总</span>
                        </div>
                    </div>

                    <div class="list-box">
                        
                        <div class="title-box">
                            <div class="title-1">排名</div>
                            <div class="title-2">服务人员</div>
                            <div class="title-3">订单量</div>
                            <div class="title-4">金额</div>
                        </div>

                        <div class="overflow-box" v-if="skillType == 0">
                            <?php if(is_array($daySkill) || $daySkill instanceof \think\Collection || $daySkill instanceof \think\Paginator): $i = 0; $__LIST__ = $daySkill;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['skillName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="skillType == 1">
                            <?php if(is_array($monthSkill) || $monthSkill instanceof \think\Collection || $monthSkill instanceof \think\Paginator): $i = 0; $__LIST__ = $monthSkill;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['skillName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="skillType == 2">
                            <?php if(is_array($yearSkill) || $yearSkill instanceof \think\Collection || $yearSkill instanceof \think\Paginator): $i = 0; $__LIST__ = $yearSkill;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['skillName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                        <div class="overflow-box" v-if="skillType == 3">
                            <?php if(is_array($allSkill) || $allSkill instanceof \think\Collection || $allSkill instanceof \think\Paginator): $i = 0; $__LIST__ = $allSkill;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vb): $mod = ($i % 2 );++$i;?>
                            <div class="content-box">
                                <div class="title-1"><?php echo $key+1; ?></div>
                                <div class="title-2"><?php echo $vb['skillName']; ?></div>
                                <div class="title-3"><?php echo $vb['num']; ?></div>
                                <div class="title-4"><?php echo $vb['total_price']; ?></div>
                            </div>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>


    </div>
</div>
</body>

<script src="/assets/addons/service/js/vue.min.js"></script>
<script type="text/javascript" charset="utf-8">
    let add = new Vue({
                el: '#app',
                data(){
                    return {
                        goodsType: 0,
                        cityType: 0,
                        shopType: 0,
                        skillType:0
                    }
                },
           
                
                methods:{
                    cityChange(type){
                        this.cityType = type
                    },
                    goodsChange(type){
                        this.goodsType = type
                    },
                    shopChange(type){
                        this.shopType = type
                    },
                    skillChange(type){
                        this.skillType = type
                    },
                }
            })
</script>

</html>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
    </body>
</html>
